home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGASIC
/
BASFILES.LZH
/
SCRNDUMP.BAS
< prev
next >
Wrap
BASIC Source File
|
1988-09-10
|
670b
|
24 lines
'$INCLUDE:'QBTOOLS.INC'
'+-----------------------------
'| SCRNDUMP - Screen dump routine:
'| send screen to designated file
'| CALL scrndump(num%)
'+----------------------------
'| (C) InfoSoft 1986, 1988, 1988
'| ALL RIGHTS RESERVED
'+----------------------------
SUB screendump (num%) STATIC
DEFINT A-Z
STATIC x, y, c, c$
FOR x = 1 TO 24 ' Big Deal huh?
c$ = ""
FOR y = 1 TO 79
c = SCREEN(x, y) ' READSCREEN would be quicker
c$ = c$ + CHR$(c) ' but all GLIB routines are StandAlone
NEXT y
PRINT #num, c$
NEXT x
END SUB